package com.ruoyi.mateCheck.domain;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateCheck extends BaseEntity {
    private Long inventoryNo;
    private Long mateProcurementId;
    private String isCreateProject;
    private String beginTime;
    private String endTime;
    private Long ckInformationId;//主键id
    private Long deptId;
    private String checkOrdernum;//订单编号
    private Long zjId;
    private String zjName;//主检人姓名
    private String zjNameSignature;//主检人姓名
    private String auditNameSignature;//主检人姓名
    private String isPackage; //包装是否完好
    private String purchaseInventory;//采购清单
    private String qualified;//是否合格供方
    private String typeAgree;//型号规格是否相符
    private String invoice;//发票
    private String qualifiedProve;//合格证明
    private String enchase;//装箱单
    private String realityNum;//实际数量
    private JSONArray otherInformation;//其他资料
    private String informationList;
    private String checkResult;//检验结果
    private Long auditId; // 审核人ID

    public Long getAuditId() {
        return auditId;
    }

    public void setAuditId(Long auditId) {
        this.auditId = auditId;
    }

    private String auditName;//审核人
    private String auditTime;//审核时间
    private String checkTime;//检验完成日期
    private String materialName;//生产商名称
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;
    private String num;
    private Long readyId;//预入库的主键id
    private String checkStatus;
    private List<MateCheckModel> mateChcekModels;
    private List<MateCheckResult> mateCheckResults;
    private List<MateCheckProduct> mateCheckProducts;
    private List<MateCheckSample> mateCheckSamples;

    public String getZjNameSignature() {
        return zjNameSignature;
    }

    public void setZjNameSignature(String zjNameSignature) {
        this.zjNameSignature = zjNameSignature;
    }

    public String getAuditNameSignature() {
        return auditNameSignature;
    }

    public void setAuditNameSignature(String auditNameSignature) {
        this.auditNameSignature = auditNameSignature;
    }

    public List<MateCheckSample> getMateCheckSamples() {
        return mateCheckSamples;
    }

    public void setMateCheckSamples(List<MateCheckSample> mateCheckSamples) {
        this.mateCheckSamples = mateCheckSamples;
    }

    public Long getReadyId() {
        return readyId;
    }

    public void setReadyId(Long readyId) {
        this.readyId = readyId;
    }

    public List<MateCheckProduct> getMateCheckProducts() {
        return mateCheckProducts;
    }

    public void setMateCheckProducts(List<MateCheckProduct> mateCheckProducts) {
        this.mateCheckProducts = mateCheckProducts;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getInformationList() {
        return informationList;
    }

    public void setInformationList(String informationList) {
        this.informationList = informationList;
    }

    public List<MateCheckResult> getMateCheckResults() {
        return mateCheckResults;
    }

    public void setMateCheckResults(List<MateCheckResult> mateCheckResults) {
        this.mateCheckResults = mateCheckResults;
    }

    public String getTypeAgree() {
        return typeAgree;
    }

    public void setTypeAgree(String typeAgree) {
        this.typeAgree = typeAgree;
    }


    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }


    public Long getInventoryNo() {
        return inventoryNo;
    }

    public void setInventoryNo(Long inventoryNo) {
        this.inventoryNo = inventoryNo;
    }

    public String getIsPackage() {
        return isPackage;
    }

    public void setIsPackage(String isPackage) {
        this.isPackage = isPackage;
    }

    public String getPurchaseInventory() {
        return purchaseInventory;
    }

    public void setPurchaseInventory(String purchaseInventory) {
        this.purchaseInventory = purchaseInventory;
    }

    public String getQualified() {
        return qualified;
    }

    public void setQualified(String qualified) {
        this.qualified = qualified;
    }


    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getQualifiedProve() {
        return qualifiedProve;
    }

    public void setQualifiedProve(String qualifiedProve) {
        this.qualifiedProve = qualifiedProve;
    }

    public String getEnchase() {
        return enchase;
    }

    public void setEnchase(String enchase) {
        this.enchase = enchase;
    }

    public String getRealityNum() {
        return realityNum;
    }

    public void setRealityNum(String realityNum) {
        this.realityNum = realityNum;
    }

    public JSONArray getOtherInformation() {
        return otherInformation;
    }

    public void setOtherInformation(JSONArray otherInformation) {
        this.otherInformation = otherInformation;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public String getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(String auditTime) {
        this.auditTime = auditTime;
    }


    public Long getMateProcurementId() {
        return mateProcurementId;
    }

    public void setMateProcurementId(Long mateProcurementId) {
        this.mateProcurementId = mateProcurementId;
    }

    public String getIsCreateProject() {
        return isCreateProject;
    }

    public void setIsCreateProject(String isCreateProject) {
        this.isCreateProject = isCreateProject;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public List<MateCheckModel> getMateChcekModels() {
        return mateChcekModels;
    }

    public void setMateChcekModels(List<MateCheckModel> mateChcekModels) {
        this.mateChcekModels = mateChcekModels;
    }


    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getCkInformationId() {
        return ckInformationId;
    }

    public void setCkInformationId(Long ckInformationId) {
        this.ckInformationId = ckInformationId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getCheckOrdernum() {
        return checkOrdernum;
    }

    public void setCheckOrdernum(String checkOrdernum) {
        this.checkOrdernum = checkOrdernum;
    }

    public String getZjName() {
        return zjName;
    }

    public void setZjName(String zjName) {
        this.zjName = zjName;
    }


    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getZjId() {
        return zjId;
    }

    public void setZjId(Long zjId) {
        this.zjId = zjId;
    }
}
